package com.luck.emp.check.qry;

import java.io.Serializable;
import java.util.Date;

import com.luck.pf.util.BaseQuery;
import com.luck.pf.util.DateUtil;

/**
 * 说明 Copyright: Copyright (c) 2011 深圳**科技
 * 
 * @author
 * 
 */
public class CheckQry extends BaseQuery implements Serializable {
	String pk;
	/**
	 * 盘点单编码：PD+4位机构号，2位年份+6位流水号
	 **/
	String checkCode;
	String productCode, productName, prodBarcode, sku;
	/**
	 * 仓库编码：4位机构号 + 2位机构内编码
	 **/
	String whCode,whName;
	Long kindId;
	String kindName;
	/**
	 * 盘点单状态： 1－新建 2－完成盘点动作，未审核 6－已经通过审核 9－删除
	 **/
	String status;
	String checkTarget;//盘点对象,1:按商品，2：按商品异动
	Date startDate;
	Date endDate;

	public String getCheckCode() {
		return this.checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	public String getWhCode() {
		return this.whCode;
	}

	public void setWhCode(String whCode) {
		this.whCode = whCode;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getPk() {
		return pk;
	}

	public void setPk(String pk) {
		this.pk = pk;
	}

	public String getWhName() {
		return whName;
	}

	public void setWhName(String whName) {
		this.whName = whName;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProdBarcode() {
		return prodBarcode;
	}

	public void setProdBarcode(String prodBarcode) {
		this.prodBarcode = prodBarcode;
	}

	public String getSku() {
		return sku;
	}

	public void setSku(String sku) {
		this.sku = sku;
	}

	public String getCheckTarget() {
		return checkTarget;
	}

	public void setCheckTarget(String checkTarget) {
		this.checkTarget = checkTarget;
	}

	public Long getKindId() {
		return kindId;
	}

	public void setKindId(Long kindId) {
		this.kindId = kindId;
	}

	public String getKindName() {
		return kindName;
	}

	public void setKindName(String kindName) {
		this.kindName = kindName;
	}

	public String getStartDateStr() {
		return DateUtil.dateToString(this.startDate,DateUtil.patternA);
	}
	public String getEndDateStr() {
		return DateUtil.dateToString(this.endDate,DateUtil.patternA);
	}
	
}